/* ********** Global settings ********** */
QWidget
{
	font-family: "Segoe UI";
	font-size: 12px;
}


MainWindow DownloadCollectionTreeView
{	
    color: black;
    selection-color:black;
    selection-background-color : qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
		stop: 0 #ecf5ff, stop: 0.5 #ddecff, stop: 1.0 #daebff);
    padding: 3px 6px 3px 6px;	
}


MainWindow LineEditEx#linkEdit
{ 
    font-size:  13px;
    padding-left:5px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

MainWindow LineEditEx#linkEdit[state="normal"]
{
    color: black;
    border: 1px solid #949294;
    border-right: 0px;
}

MainWindow LineEditEx#linkEdit[state="error"]
{
    color: #f68825;
    border: 1px solid #f68825;
    border-right: 0px;
}

MainWindow ButtonLabel#lblClearText
{
    background: white;
    background-image: url(:/stop_disabled.png);
    background-position: center;
    background-repeat: no-repeat;
    min-width: 25px;
    max-width: 25px;
    border-top:1px solid #949294;
    border-bottom:1px solid #949294;
    margin-bottom: 8px; 
    margin-top: 8px;
}

QHeaderView::section:horizontal
{
    background-color: #f4f4f4;
    color: #595959;
    padding-left: 5px;
    border-left:none;
    border-right:1px solid #CFCFCF;
    border-top: none;
    border-bottom: none; /*1px solid #d5d5d5;*/
    height: 26px;
}

QHeaderView::section:horizontal::last
{
    border-right:none;
}

MainWindow QTreeView#listUrls
{
	padding: 0px 0px 0px 0px;
	border: 1px solid #CFCFCF;
}


TorrentDetailsForm QTreeView#treeTorrentContent::indicator
{
    border: 0px;
    width: 0px;
    height: 0px;
}

TorrentDetailsForm QTreeView {
    color:black;
    selection-color:black;
}


QListWidget::item {
	height: 25px;
}

QTreeView::item {
    height: 25px;
}


QListWidget::item:selected {
	background-color: rgb(210,244,255);
	color:black;
}

MainWindow #wTop
{
    background-color: #595959;
}


/* QComboBox*/
QComboBox
{
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background-color: white;
    margin-right: 0px;
    margin-top: 3px;
    margin-bottom: 3px;
}

QComboBox:on { /* shift the text when the popup opens */
    border-bottom-left-radius: 0px;
    padding-bottom: 3px;
    margin-bottom: 0px;
}

QComboBox::drop-down
{
    subcontrol-origin: padding;
    subcontrol-position: center right;
    max-width: 15px;
    background-color: white;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

QComboBox::drop-down:hover
{
    background-color: #cfcfcf;
}

QComboBox::drop-down:pressed
{
    background-color: #cfcfcf;
}

QComboBox::drop-down:on
{
    background-color: #cfcfcf;
}


QComboBox::down-arrow
{
	image: url(:/combobox-down-arrow-normal.png);
}

QComboBox::down-arrow:hover
{
    image: url(:/combobox-down-arrow-hover.png);
}

QComboBox::down-arrow:pressed
{
    image: url(:/combobox-down-arrow-press.png);
}

QComboBox::down-arrow:on 
{ 
    image: url(:/combobox-down-arrow-press.png);
}

QComboBox QAbstractItemView 
{
     border: 1px solid #cfcfcf;
     border-top: none;
     selection-background-color: #d1f3fc;
     selection-color: black;
}
